<tagLib name="html,cx" />
<include file="Public:header" />
<div class="bodyTitle">
<div class="bodyTitleLeft"></div>
<div class="bodyTitleText">编辑留言</div>
</div>
<br>
<h3 class="marginbot"><a href="__URL__" class="sgbtn">＋返回留言</a></h3>


<table width="100%">
	<form method="post" name="form1" action="__URL__/edits"><input
		type="hidden" name="id" value="{$vo.id}" />
	<tr>
		<td>留言类型</td>
		<td><input name="type" type="radio" value="gbook"<if
			condition="$vo['type'] eq 'gbook' ">checked="checked"</if>
		class="checkbox"/> 网站留言 <input name="type" type="radio" value="advice"<if
			condition="$vo['type'] eq 'advice' ">checked="checked"</if>
		class="checkbox"/> 建议 <input name="type" type="radio" value="complain"<if
			condition="$vo['type'] eq 'complain' ">checked="checked"</if>
		class="checkbox"/> 投诉 <input name="type" type="radio" value="praise"<if
			condition="$vo['type'] eq 'praise' ">checked="checked"</if>
		class="checkbox"/>合作交流 <input name="type" type="radio"
			value="question"<if condition="$vo['type'] eq 'question' ">checked="checked"</if>
		class="checkbox"/> 售后反馈 <input name="type" type="radio" value="order"<if
			condition="$vo['type'] eq 'order' ">checked="checked"</if>
		class="checkbox"/> 产品订购</td>
	</tr>
	<tr>
		<td>真实姓名</td>
		<td><input name="username" type="text" class="txt redtxt"
			id="username" value="{$vo.username}" /> &nbsp;&nbsp; &nbsp;性 别: <input
			name="sex" type="radio" value="1"<if
			condition="$vo['sex'] eq 1 ">checked="checked"</if>
		class="checkbox"/>男 <input type="radio" name="sex" value="0"<if
			condition="$vo['sex'] eq 0 ">checked="checked"</if>
		class="checkbox"/> 女</td>
	</tr>
	<tr>
		<td>留言内容</td>
		<td><textarea name="content" cols="48" rows="5" class="redtxt"
			id="content">{$vo.content}</textarea></td>
	</tr>
	<tr>
		<td>联系方式</td>
		<td></td>
	</tr>
	<tr>
		<td>电 话</td>
		<td><input name="tel" type="text" id="tel" value="{$vo.tel}"
			class="txt" />传 真: <input name="fax" type="text" id="fax"
			value="{$vo.fax}" class="txt" /></td>
	</tr>

	<tr>
		<td>QQ</td>
		<td><input name="qq" type="text" id="qq" value="{$vo.qq}"
			class="txt" /> 邮箱: <input name="email" type="text" id="email"
			value="{$vo.email}" class="txt" /></td>
	</tr>
	<tr>
		<td>网址</td>
		<td><input name="web" type="text" id="web" value="{$vo.web}"
			class="txt" /> <if condition="$vo['ischecked'] eq 1 "> <input
			name="ischecked" type="radio" value="0" class="checkbox" />隐藏 <else />
		<input name="ischecked" type="radio" value="1" class="checkbox" />显示
		</if></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td><input name="ip" type="text" id="ip" value="{$vo.ip}"
			readonly class="txt" /></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td><input type="submit" name="Submit2" value="提交更新"
			class="inputButton" /> <input type="reset" name="Reset" value="还原重填"
			class="inputButton" /></td>
	</tr>
	</form>
</table>
<p class="i">红色标记的内容必须填写</p>
<br>
<include file="Public:footer" />